package com.kangtushizhe.emuns;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author LiuZiMing
 * @since 2024-01-23
 */
@Data
@AllArgsConstructor
@TableName("tbl_drug")
public class Drug implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("position")
    private String position;

    @TableField("number")
    private Integer number;

    @TableField("validity")
    private String validity;

    @TableField("is_prescription")
    private Integer isPrescription;

    @TableField("w_describe")
    private String wDescribe;
}
